<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        session_start();
        if(isset($_SESSION['user_admin'])){
            $home = URL_BASE + "/admin/home";
            header("location:$home");
        }
        ?>
        <center>
            <fieldset id="login">
            
            <legend>Đăng nhập quản trị</legend>
            <form method="post">
                <table>
                    <tr>
           <td> <label>Tên đăng nhập:</label></td>
            <td><input type="text" name="txtUser" size="30"/></td>
            </tr><tr>
                <td><label>Mật khẩu:</label></td>
            <td><input type="password" name="txtPass" size="30"/></td>
            </tr></table>
            <input type="submit" value="Đăng nhập" name="btnLogin" id="submit"/>
            </form>
            
        </fieldset>
            </center>
    </body>
</html>
